package com.ytt.controller;

import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * WelComeController
 *
 * @author chenwen
 * @date 2019/9/16 09:17
 */
@Controller
public class WelComeController {
    @GetMapping(value = "/")
    public String welcome(Model model) {
        model.addAttribute("swagger", "swagger-ui.html");
        model.addAttribute("bootstrap", "doc.html");
        return "welcome";
    }
}
